package com.nengchuan.kbms.dfs.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件基本信息 VO
 * </p>
 *
 * @author abe
 * @since 2020-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FileBasicVO 对象", description = "文件基本信息 VO")
public class FileBasicVO {

    @ApiModelProperty(value = "文件id", position = 10)
    private Long id;

    @ApiModelProperty(value = "所属文件夹id", position = 20)
    private Long folderId;

    @ApiModelProperty(value = "文件名", position = 30)
    private String fileName;

    @ApiModelProperty(value = "文件大小（字节）", position = 40, hidden = true)
    @JsonIgnore
    private Long fileSize;

    @ApiModelProperty(value = "文件大小", position = 45)
    private String fileSizeStr;

    @ApiModelProperty(value = "文件类型", position = 46)
    private String type;

    @ApiModelProperty(value = "创建时间戳", position = 60)
    private Long createTime;

    @ApiModelProperty(value = "更新时间戳", position = 70)
    private Long updateTime;

    @ApiModelProperty(value = "创建人id", position = 80)
    private Long createId;

    @ApiModelProperty(value = "创建人", position = 90)
    private String createName;

    @ApiModelProperty(value = "更新id", position = 100)
    private Long updateId;

    @ApiModelProperty(value = "更新人名称", position = 110)
    private String updateName;

    @ApiModelProperty(value = "文件等级", position = 120)
    private String fileLevel;

    @ApiModelProperty(value = "预览次数", position = 130)
    private Long previewCount;

    @ApiModelProperty(value = "下载次数", position = 140)
    private Long downloadCount;

    @ApiModelProperty(value = "描述", position = 150)
    private String remark;

    @ApiModelProperty(value = "ISBN（电子图书馆用）", position = 160)
    private String isbn;

    @ApiModelProperty(value = "出版社（电子图书馆用）", position = 170)
    private String publishing;

}
